package com.ry.thread.register.client;

import java.util.UUID;

/**
 * RegisterClient
 *
 * @author jiangyixin
 * @version 1.0
 * @date 2021/6/30 下午5:48
 */
public class RegisterClient {
    private String serviceInstanceId;
    
    public RegisterClient() {
        this.serviceInstanceId = UUID.randomUUID().toString().replace("-", "");
    }
    
    public void start() {
        new RegisterClientWorker(serviceInstanceId).start();
    }
}
